package com.sfx.controller;

import com.sfx.model.ScopeUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * ScopeControllerA
 */

@Controller
public class ScopeControllerA {

    @Autowired
    private ScopeUser scopeUser;

    public void doScopeControllerA(){
        System.out.println("A:原数据 : " + scopeUser);
        ScopeUser s = scopeUser;
        s.setName("张三");
        s.setAge(99);
        s.setId(88);
        System.out.println("A:的新数据 : " +scopeUser);
    }
}
